package com.kuang.service;

import com.kuang.pojo.Books;

import java.util.List;

/**
 * @author Niddles
 * @create 2021：05:23:11:19
 * @Theme default
 */
public interface BookService {
    int addBook(Books books);

    int deleteBook( int id);

    int updateBook(Books books);

    Books queryBookById(int id);

    Books queryBookByName( String bookName);

    List<Books> queryBooks();
}
